#include "app_device.h"
#include "app_pool.h"
#include "app_mqtt.h"
#include <unistd.h>
#include "app_bt.h"
#include "log/log.h"

int main(int argc, char const *argv[])
{
    app_pool_Init(4);
    app_mqtt_init();

    Device* device = app_device_init("/home/umunk/桌面/workspace/linux_app/test_dev.txt");
    log_debug("1111");
    app_bt_Init(device);
    log_debug("2222");

    app_device_start();
    log_debug("3333");

    sleep(10000);
    return 0;
}
